home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / printing / hputils.arc / DVI_DJ / USERGUID.TXT < prev   
Text File  |  1990-04-01  |  5KB  |  95 lines

  1.     Well, here it is! Finally, a .dvi driver for your HP DeskJet
  2. printer that will work on 520ST and up.  This program was bsed upon code
  3. from the University of Utah written by Nelson Beebe, and was modified by
  4. someone at HP in Vancouver, WA to work on a machine with limited memory. 
  5. It does this by splitting the page into slices, and processing the
  6. slices as separate entities.  This gets around the large amount of
  7. memory needed to process an entire page bitmap in memory at once. 
  8.  
  9.     Included are two versions of dvidsk.ttp.  One does the page in 3
  10. strips, and is called dvidsk3.ttp.  The other takes 5 strips, and may
  11. work better if you run out of memory using the dvidsk3.ttp vesion.  Once
  12. you figure out which one of these will work on your configuration,
  13. rename it dvidsk.ttp.  The 5 strip version should run on all systems,
  14. but I recommend the 3 strip if it will work for you, because it runs
  15. just a little bit faster than the 5 strip version. 
  16.  
  17.     John R.  Dunning (of JRD fame :-) ) compiled this up for me from
  18. the source I got from the person at HP.  I had to take this code,
  19. compare it to the DVIEPS.TTP code that JRD had done prieviously, and
  20. make all the needed patches.  I then shipped the code to JRD and he
  21. compiled them on his Mega4 using GCC. 
  22.     
  23.     To use this, you will need a set of font files.  If you are
  24. unfamiliar with Latex and .dvi files in general, you will probably be
  25. confused at this.  This is not intended to be a complete tutorial. 
  26. Perhaps after I finish my Master's degree in December, I will sit down
  27. and try to make a start to finish package on using LaTeX and this driver
  28. and dvieps on the ST.  But that won't come for a few months!
  29.  
  30.     I use PK font files.  I have a set of them in a separate ARC
  31. file called DSKFONTS.ARC.  They are basically 500K worth of 300pk and
  32. some 329pk fonts, most all of the ones you would need for any document. 
  33. You will need to dearc them, and then on your harddrive (DON'T even
  34. think about running this on floppies!!) make a directory called \fonts. 
  35. In this directory, make a separate directory for each font name as in
  36. "\fonts\cmr10" and in this directory coply the file cmr10.300.  Rename
  37. this file to "300pk" Repeat this for each of the font families.  Of
  38. course, if it is a 360pk font, move it to its correct folder and rename
  39. it "360PK" A sample directory of fonts might look like:
  40.  
  41. f:\fonts\cmr10\300pk
  42. f:\fonts\cmr10\329pk
  43. f:\fonts\cmr10\360pk
  44. f:\fonts\cmex10\300pk
  45.  ....
  46.  
  47. Once you have the fonts, you can run the program by placing dvidsk.ttp
  48. in the root level of the disk partition with the fonts.  Your source
  49. .dvi file should be there also.  If you want to move you fonts around,
  50. there are several environment variables you can set.  I use Neodesk, so
  51. I set them up there, but any command shell like gualam will let you
  52. define environment variables. 
  53. TEXFONTS=f:\fonts (this points to your font directory, you will need this if
  54.                     your fonts are anywhere except in partition F: since this
  55.                     is the expected location)
  56. TEXINPUTS (the location of your .dvi file)
  57.  
  58. The only one you really need to wory with is the TEXFONTS usually.
  59.  
  60. Once all of this is done, invoke the program as
  61. dvidsk.ttp -z -(other options) dvifilename
  62. the options are:
  63.  
  64. -z directs output to the printer instead of a diskfile.  You will
  65.     probably always want to use this, as disk files are humongous!!
  66.  
  67. -q supresses all of the mesages, and speeds things up a bit.  Omit this
  68.     for the first few times you run it to get familiar with the way
  69.     the program looks for the files it needs. 
  70.  
  71. -x 
  72. -y override the magins set in you document when it was LaTeXed.  You
  73. can specify these as "-y-0.75in"  this move the top margin UP 3/4 of an inch
  74.                      "-y1.0mm" moves the top margin DOWN 1 millimeter
  75. Play with these to get a better idea how they affect the output.
  76.  
  77. -d24 this will list every file the program tries to open.  This can be helpful
  78.       for figuring out which fonts you are missing.  
  79.  
  80.     That should do it.  This program isn't as speedy a printing out
  81. on a laser printer at school or work, but if you could afford a laser
  82. printer, you wouldn't need this program anyway!
  83.  
  84.     Utah will be releasing their new improved version of the driver
  85. family sometime in the future, and when they do, I will try and get it
  86. ported over for us ST users.  It is basically the same as this one,
  87. except it should offer support for some of the \special commands that we
  88. don't have in this version.  If you are printing any figures that you
  89. make using FIG and transfig, then they probably won't show up when you
  90. print them with this driver.  The specials are used to make splined
  91. drawings and for more complex figures than you can usually do in
  92. straight LaTeX. 
  93.  
  94.  
  95.